|
| .NET Framework Class Library |
| ConcurrentQueue<(Of <(T>)>)..::.Enqueue Method |
| ConcurrentQueue<(Of <(T>)>) Class See Also Send Feedback |
Adds an object to the end of the ConcurrentQueue<(Of <(T>)>).
Namespace:
System.Collections.Concurrent
Assembly:
System.Threading (in System.Threading.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub Enqueue ( _ item As T _ ) |
| C# |
|---|
public void Enqueue( T item ) |
Parameters
- item
- Type: T
The object to add to the end of the ConcurrentQueue<(Of <(T>)>). The value can be a null reference (Nothing in Visual Basic) for reference types.